<?php
namespace zake\server\ws;

use zake\server\HandlerAble;

interface WsHandler extends HandlerAble
{

    /**
     * 握手成功处理
     * @param string $handShakeBuffer
     * @return mixed
     *
     * @author liu.bin 2020-05-09 16:20
     */
    public function onConnectHandler($handShakeBuffer);


    /**
     * 接收 pong回调处理
     * @return mixed
     *
     * @author liu.bin 2020-05-12 00:13
     */
    public function onPongHandler();
}